*{margin: 0px;
    padding: 0px;
    text-decoration: none;
    list-style: none;}
body{
    width: 1000px;
    margin: 0px auto;
}

.clearb{clear:both;}
.alt{background: #f8e4bd;}
.head{background: #161616; color: #e8e8e8;}
.errors li{color: #ff6339;}
table td img{
    width: 25px;
    height: 25px;
}
#header{
    height: 155px;
}
#banner{
    height: 120px;
    background: url("../images/banner.jpg");
}
#banner #action{
    float: right;
    margin: 30px 10px 0px 0px;
}
#banner #action ul li{
    display: inline;
    margin: 0px 5px;
}
#nav{
    height: 33px;
    position: relative;
    background: #1c1c1c;
}
#nav ul li{
    float: left;


}
#nav ul li a{
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px 7px;
    line-height: 33px;
    margin-right: 5px;
}
#nav ul li a:hover{
	background: #2a2a2a;
	background-image: linear-gradient(bottom, #222222 10%, #7c7c7c 70%);
	background-image: -moz-linear-gradient(bottom, #222222 10%, #7c7c7c 70%);
	background-image: -webkit-linear-gradient(bottom, #222222 10%, #7c7c7c 70%);
	background-image: -o-linear-gradient(bottom, #222222 10%, #7c7c7c 70%);
	background-image: -ms-linear-gradient(bottom, #222222 10%, #7c7c7c 70%);
}
#content{
	background: #efefef;
	margin: 0;
border: 1px solid #858585;
}
/*=================show all product=============*/
#all-product table{
	border-collapse: collapse;
	margin: 10px 0px 10px 0px;
}
#all-product table td{
	border: 1px solid #acacac;
}
#all-product table tr.alt{
	background: #f8e4bd;
}
#all-product table tr.table-header{
	background: #2c2c2c;
	border: 1px solid #d6d6d6;
	color: #ffffff;
}
#all-product table tr td.edit-icon,
#all-product table tr td.del-icon{
	text-align: center;
}
#all-product table tr td.edit-icon img,
#all-product table tr td.del-icon img{
	width: 22px;
	height: 22px;
	
}
#all-product table tr td.image-product{
	text-align: center;
	vertical-align:bottom;
}
#all-product table tr td.image-product img{
	width: 35px;
	height: 30px;
}
#view-product .add{
	margin: 15px 0px 15px 10px;
}
#view-product a.add-product{
	padding: 5px 7px;
	border: 1px solid #8c9fff;
	border-radius: 5px;
	background: #b4b4b4;
	color: #202020;
	background-image: -moz-linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
	background-image: linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
	background-image: -webkit-linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
	font-size: 1.2em;
}
#view-product a.add-product:hover{
	background: #b4b4b4;
	color: #202020;
	background-image: -moz-linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
	background-image: linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
	background-image: -webkit-linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
}
#view-product .search-product{
	width: 700px;
	margin: 10px 0px 10px 10px;
}
#view-product .search-product .keyword, .select, .search{
	margin: 5px 0px 5px 15px;
	display: inline;
}
#view-product .search-product fieldset{
	height: 60px;
}
#view-product .search-product .keyword input{
	width: 250px;
	height: 20px;
}
#view-product .search-product .select select{
	width: 150px;
	height: 22px;
}
#view-product .search-product .search input{
	width: 100px;
	height: 28px;
}
#view-product input.search-all{
	margin: 10px 0px 5px 0px;
	padding: 6px 9px;
}

/*===============add product============*/
#add-new-product .left{
float: left;
width: 500px;
}
#add-new-product .right{
float: left;
width: 460px;
height: 230px;
}
#add-new-product{
margin: 25px 0px 0px 10px;
}
#add-new-product .input{
	margin: 5px 0px 10px 10px;
}
#add-new-product .input input{
	width: 350px;
	height: 22px;
	line-height: 22px;
}
#add-new-product .input select{
	width: 220px;
	height: 24px;
	line-height: 30;
}
#add-new-product .input label{
	font-size: 1.1em;
	
}
#add-new-product .input textarea#product_promotion{
	width: 400px;
	height: 120px;
}
#add-new-product .button{
	margin: 15px 0px 15px 10px;
}
#add-new-product .button input{
	font-size: 1.1em;
	color: #363636;
	margin: 0px 15px 0px 0px;
	width: 120px;
	height: 35px;
	background: #dddddd;
	background-image: linear-gradient(bottom, #d2d2d2 10%, #e4e4e4 70%);
	background-image: -moz-linear-gradient(bottom, #d2d2d2 10%, #e4e4e4 70%);
	background-image: -webkit-linear-gradient(bottom, #d2d2d2 10%, #e4e4e4 70%);
	border-radius: 10px;
	border: 1px solid #888888;
}
#add-new-product .button input:hover{
	color: #ffffff;
	background: #828282;
	background-image: linear-gradient(bottom, #404040 10%, #828282 70%);
	background-image: -moz-linear-gradient(bottom, #404040 10%, #828282 70%);
	background-image: -webkit-linear-gradient(bottom, #404040 10%, #828282 70%);
	border-radius: 10px;
	border: 1px solid #888888;
}
#add-new-product ul.errors li{
	color: #fd2828;
}
#add-new-product .input img.thumb{
	width: 170px;
	height: 120px;
}
/*==========news============*/
#list-news table{
    border-collapse: collapse;
    border: 1px solid #828282;
}
#list-news table th{
    border: 1px solid #828282;
}
#list-news table td{
    border: 1px dashed #828282;
}
#list-news table td img{
    width: 25px;
    height: 25px;
}
/*==========end news=========*/

/*===========user==============*/
#list-user table{
	border-collapse: collapse;
	border: 1px solid #828282;
	margin-left: 10px;
}

#list-user table th{
    border: 1px solid #828282;
}
#list-user table td{
    border: 1px dashed #828282;
}
#list-user table td img{
    width: 25px;
    height: 25px;
}
#list-user table td p{
	margin-left: 10px;
}
#list-user .hidden{
	display: none;
}
#list-user .search-user{
	width: 550px;
	margin: 5px 0px 0px 10px;
}
#list-user .search-user form fieldset{
	line-height: 40px;
}
#list-user .search-user .keyword{
	width: 200px;
	height: 20px;
}
#list-user .search-user .search{
	width: 100px;
	height: 30px;
	margin-left: 10px;
}
#list-user .show-all input{
	width: 100px;
	height: 30px;
	margin: 10px 0px 15px 10px;
}
#list-user .add-new{
	margin: 20px 0px 15px 10px;
}
#list-user .add-new a{
	padding: 5px 7px;
	border: 1px solid #8c9fff;
	border-radius: 5px;
	background: #b4b4b4;
	color: #202020;
	background-image: -moz-linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
	background-image: linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
	background-image: -webkit-linear-gradient(bottom, #7c92ff 10%, #dae0ff 55%);
}
#list-user .add-new a:hover{
	background: #b4b4b4;
	color: #202020;
	background-image: -moz-linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
	background-image: linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
	background-image: -webkit-linear-gradient(bottom, #3f5fff 10%, #aab8fe 55%);
}
#dialog-form{
	width: 95%;

}
#dialog-form form label{
	margin-left: 5px;
}
#dialog-form form input{
	margin-bottom: 12px;
	padding: .4em;
	width: 90%;
	height: 22px;
	margin-left: 5px;
}
#add-user{
margin: 10px 10px 10px 10px;
border: 1px solid #808080;
border-radius: 5px;

}
#add-user .title{
text-align: center;
}
#add-user .title h3{
color: #f33c0a;
font-size: 1.5em;
}
#add-user .left{
float: left;
width: 480px;
margin-left: 35px;
}
#add-user .right{
float: left;
height: 250px;
margin-left: 60px;
}
#add-user .input{
margin: 5px 0px 5px 0px;
}
#add-user .input input{
width: 330px;
height: 20px;
}
#add-user .input select{
width: 150px;
height: 22px;
}
#add-user .submit{
float: left;
margin: 30px 0px 20px 0px;
}
#add-user .submit input{
width: 120px;
height: 30px;
}
/*===========end user============*/
/*==========start order==========*/
#order table{
	margin: 0px auto;
	width: 900px;
}
#order table{
	border: 1px solid #424242;
	border-collapse: collapse;
}
#order table tr.header{
	background: #682801;
	color: #d6d6d6;
}
#order table th{
	border: 1px solid #b1b1b1;
}
#order table td{
	border: 1px dashed #b1b1b1;
}
#order .search-order{
	margin: 10px;
	width: 700px;
}
#order .search-order form fieldset{
	height: 60px;
}
#order .keyword, .state, .search{
	display: inline;
	margin: 10px;
}
#order .keyword input{
	width: 180px;
	height: 18px;
}
#order .search input{
	width: 80px;
	height: 28px;
}
#order .show-all{
	margin: 5px 0px 5px 10px;
}
#order .show-all input{
	padding: 5px 10px;
}
table{
	border: 1px solid #424242;
	border-collapse: collapse;
}
table tr.header{
	background: #682801;
	color: #d6d6d6;
}
table th{
	border: 1px solid #b1b1b1;
}
table tr, td{
	border: 1px dashed #b1b1b1;
}
/*==========end order============*/
/*=====================------------footer------------=============================*/
#footer{
    height: 70px;
    background: #494949;
	margin: 15px 0px 0px 0px;
}
#footer .copy{
	margin-left: 20px;
	color: #d2d2d2;
}
#footer .copy p{
	margin-top: 20px;
}